package admin.dao.mapper;

import java.util.List;

import admin.dao.model.UmsAdminResourceRelation;
import admin.dao.model.UmsAdminResourceRelationExample;
import org.apache.ibatis.annotations.Param;

public interface UmsAdminResourceRelationMapper {
    long countByExample(UmsAdminResourceRelationExample example);

    int deleteByExample(UmsAdminResourceRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsAdminResourceRelation record);

    int insertSelective(UmsAdminResourceRelation record);

    List<UmsAdminResourceRelation> selectByExample(UmsAdminResourceRelationExample example);

    UmsAdminResourceRelation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsAdminResourceRelation record, @Param("example") UmsAdminResourceRelationExample example);

    int updateByExample(@Param("record") UmsAdminResourceRelation record, @Param("example") UmsAdminResourceRelationExample example);

    int updateByPrimaryKeySelective(UmsAdminResourceRelation record);

    int updateByPrimaryKey(UmsAdminResourceRelation record);
}